package com.lc.luzhengtang.bean;

import java.util.List;

/**
 * Created by Administrator on 2017/5/25.
 */

public class GenerateOrderBean {


    /**
     * code : 200
     * message : 数据加载成功
     * data : {"goods":[{"id":7,"member_id":8,"number":10,"goodsattr":"盒","title":"干鹿茸哈哈","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"166.00","weight":"0.1","postage":0,"sales":"80"},{"id":7,"member_id":8,"number":10,"goodsattr":"盒","title":"干鹿茸哈哈","picurl":"uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg","market_price":"166.00","weight":"0.1","postage":0,"sales":"80"}],"address":[{"id":163,"member_id":8,"address":"Assad","username":"982168135","mobile":"13091452556","city":"陕西省宝鸡市渭滨区","status":1,"create_time":"2017-06-01 15:21:23","zongintegralmoney":0,"zongintegral":"","ordersn":"2017061311394216302"}]}
     */

    private int code;
    private String message;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<GoodsBean> goods;
        private List<AddressBean> address;

        public List<GoodsBean> getGoods() {
            return goods;
        }

        public void setGoods(List<GoodsBean> goods) {
            this.goods = goods;
        }

        public List<AddressBean> getAddress() {
            return address;
        }

        public void setAddress(List<AddressBean> address) {
            this.address = address;
        }

        public static class GoodsBean {
            /**
             * id : 7
             * member_id : 8
             * number : 10
             * goodsattr : 盒
             * title : 干鹿茸哈哈
             * picurl : uploads/image/20170516/fab4677ecdd7cd2bf0b6bb4996a92c1f.jpg
             * market_price : 166.00
             * weight : 0.1
             * postage : 0
             * sales : 80
             */

            private int id;
            private int member_id;
            private int number;
            private String goodsattr;
            private String title;
            private String picurl;
            private String market_price;
            private String weight;
            private int postage;
            private String sales;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMember_id() {
                return member_id;
            }

            public void setMember_id(int member_id) {
                this.member_id = member_id;
            }

            public int getNumber() {
                return number;
            }

            public void setNumber(int number) {
                this.number = number;
            }

            public String getGoodsattr() {
                return goodsattr;
            }

            public void setGoodsattr(String goodsattr) {
                this.goodsattr = goodsattr;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getPicurl() {
                return picurl;
            }

            public void setPicurl(String picurl) {
                this.picurl = picurl;
            }

            public String getMarket_price() {
                return market_price;
            }

            public void setMarket_price(String market_price) {
                this.market_price = market_price;
            }

            public String getWeight() {
                return weight;
            }

            public void setWeight(String weight) {
                this.weight = weight;
            }

            public int getPostage() {
                return postage;
            }

            public void setPostage(int postage) {
                this.postage = postage;
            }

            public String getSales() {
                return sales;
            }

            public void setSales(String sales) {
                this.sales = sales;
            }
        }

        public static class AddressBean {
            /**
             * id : 163
             * member_id : 8
             * address : Assad
             * username : 982168135
             * mobile : 13091452556
             * city : 陕西省宝鸡市渭滨区
             * status : 1
             * create_time : 2017-06-01 15:21:23
             * zongintegralmoney : 0
             * zongintegral :
             * ordersn : 2017061311394216302
             */

            private int id;
            private int member_id;
            private String address;
            private String username;
            private String mobile;
            private String city;
            private int status;
            private String create_time;

            public String getZongintegralmoney() {
                return zongintegralmoney;
            }

            public void setZongintegralmoney(String zongintegralmoney) {
                this.zongintegralmoney = zongintegralmoney;
            }

            private String zongintegralmoney;
            private String zongintegral;
            private String ordersn;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMember_id() {
                return member_id;
            }

            public void setMember_id(int member_id) {
                this.member_id = member_id;
            }

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public String getUsername() {
                return username;
            }

            public void setUsername(String username) {
                this.username = username;
            }

            public String getMobile() {
                return mobile;
            }

            public void setMobile(String mobile) {
                this.mobile = mobile;
            }

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getCreate_time() {
                return create_time;
            }

            public void setCreate_time(String create_time) {
                this.create_time = create_time;
            }


            public String getZongintegral() {
                return zongintegral;
            }

            public void setZongintegral(String zongintegral) {
                this.zongintegral = zongintegral;
            }

            public String getOrdersn() {
                return ordersn;
            }

            public void setOrdersn(String ordersn) {
                this.ordersn = ordersn;
            }
        }
    }
}
